-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation #33
Compilation #33
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd lean towards removing it for faiss, flatnav, scann, and voyager for now, unless we're able to validate their behaviors WRT changing num_results.
It can also be added to gar and ladr -- those are safe :)
@@ -25,6 +25,12 @@ def __init__(self, flex_index, faiss_index, n_probe=None, ef_search=None, search | |||
self.drop_query_vec = drop_query_vec | |||
self.num_results = num_results | |||
|
|||
def fuse_rank_cutoff(self, k): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not certain that some of the ANN retrievers should get the fuse, since some implementations change the results can change based on num_results
.
feedback addressed; I used return None to short circuit faiss, flatnav, scann, and voyager |
Great, thanks! |
This adds PyTerrier 0.12 compilation support to Pyterrier_DR